package com.lichuang.fruitvarietysm.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author shuaihang
 * @since 2019-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goods_carousel_img")
@ApiModel(value = "GoodsCarouselImg对象", description = "")
public class GoodsCarouselImg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品详情轮播图表id")
    @TableId(value = "carouse_id", type = IdType.AUTO)
    private Integer carouseId;

    @ApiModelProperty(value = "轮播img")
    private String largeImg;

    @ApiModelProperty(value = "轮播图的上传日期")
    private LocalDateTime upperDate;

    @ApiModelProperty(value = "轮播图的下线日期")
    private LocalDateTime lowerDate;

    @ApiModelProperty(value = "状态，1为在线，2为下线")
    private Integer state;


}
